package
{
	import capricornus.Capricornus;
	import capricornus.components.flower.FlowerManager;
	import capricornus.core.RefreshManager;
	
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	
	[SWF(width="1000", height="700", frameRate="30")]
	public class FlowerTest extends Sprite
	{
		public function FlowerTest()
		{
			super();
			init();
		}
		
		private function init():void
		{
			Capricornus.initialize( stage );
			RefreshManager.instance.start();
			
			stage.addEventListener( MouseEvent.CLICK, onClick );
		}
		
		private function onClick( e:MouseEvent ):void
		{
			FlowerManager.play( 999 );
		}
	}
}